package com.sgcc.activiti.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sgcc.common.core.web.domain.BaseEntity;

import java.util.Date;

public class DateSlot extends BaseEntity {

    private static final long serialVersionUID = 1L;
    private Date starttime;		// 开始时间
    private Date endtime;		// 结束时间
    private String timedecomode;		// 时间段分解方式
    private String type;		// 类型


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public String getTimedecomode() {
        return timedecomode;
    }

    public void setTimedecomode(String timedecomode) {
        this.timedecomode = timedecomode;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
